Skip to content

Commit

Permalink
fix: need buckets in save/load, not in bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman committed Mar 21, 2024
1 parent 1c247bf commit 8ed8fd2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion models/csharp/dock/BucketModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
public struct BucketModel
{
public string Token;
public string Bucket;
public string Password;
}
2 changes: 1 addition & 1 deletion models/schemas/dock/BucketModel.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"properties": {"Token": {"title": "Token", "type": "string"}, "Bucket": {"title": "Bucket", "type": "string"}, "Password": {"title": "Password", "type": "string"}}, "required": ["Token", "Bucket", "Password"], "title": "BucketModel", "type": "object"}
{"properties": {"Token": {"title": "Token", "type": "string"}, "Password": {"title": "Password", "type": "string"}}, "required": ["Token", "Password"], "title": "BucketModel", "type": "object"}
2 changes: 2 additions & 0 deletions src/vbl_aquarium/models/dock.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ class UploadModel(VBLBaseModel):

# Models for sending save/load messages
class SaveModel(VBLBaseModel):
bucket: str
password: str


class LoadModel(VBLBaseModel):
bucket: str
password: str

0 comments on commit 8ed8fd2

Please sign in to comment.