url
This commit is contained in:
parent
e252204e80
commit
2846ed7a1a
@ -42,7 +42,7 @@ public void UploadPhoto(string roomCode, string playerId, int question, int prop
|
|||||||
byte[] photoBytes = ImageConversion.EncodeToJPG(photo);
|
byte[] photoBytes = ImageConversion.EncodeToJPG(photo);
|
||||||
string imageUuid = Guid.NewGuid().ToString();
|
string imageUuid = Guid.NewGuid().ToString();
|
||||||
|
|
||||||
StorageReference imageRef = storage.Child($"{roomCode}/{playerId}/{imageUuid}.png");
|
StorageReference imageRef = storage.Child($"gs://ggj2024-5cb41.appspot.com/{roomCode}/{playerId}/{imageUuid}.png");
|
||||||
|
|
||||||
imageRef.PutBytesAsync(photoBytes).ContinueWith((Task<StorageMetadata> task) =>
|
imageRef.PutBytesAsync(photoBytes).ContinueWith((Task<StorageMetadata> task) =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user