Skip to content

Commit 6af325b

Browse files
author
Rose Yemelyanova
committed
changed info response object...
1 parent 654a566 commit 6af325b

File tree

1 file changed

+2
-2
lines changed
  • src/diffcalc_api/routes

1 file changed

+2
-2
lines changed

src/diffcalc_api/routes/ub.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ async def set_ub(
412412
"""
413413
await service.set_u(name, ub_matrix, store, collection)
414414
return InfoResponse(
415-
payload=f"UB matrix set for crystal {name} of collection {collection}"
415+
message=f"UB matrix set for crystal {name} of collection {collection}"
416416
)
417417

418418

@@ -435,7 +435,7 @@ async def set_u(
435435
"""
436436
await service.set_u(name, u_matrix, store, collection)
437437
return InfoResponse(
438-
payload=f"U matrix set for crystal {name} of collection {collection}"
438+
message=f"U matrix set for crystal {name} of collection {collection}"
439439
)
440440

441441

0 commit comments

Comments
 (0)