mirror of
https://github.com/runcitadel/core.git
synced 2024-12-28 15:42:59 +00:00
Fix backups
This commit is contained in:
parent
0c26e9fec2
commit
ac3dbee5c9
|
@ -107,7 +107,7 @@ check_if_exists() {
|
||||||
-X GET \
|
-X GET \
|
||||||
"https://firebasestorage.googleapis.com/v0/b/citadel-user-backups.appspot.com/o/backups%2F${1}?alt=media"
|
"https://firebasestorage.googleapis.com/v0/b/citadel-user-backups.appspot.com/o/backups%2F${1}?alt=media"
|
||||||
}
|
}
|
||||||
}
|
|
||||||
# Upload a file to Firebase Cloud Storage by uloading its name + a random ID.
|
# Upload a file to Firebase Cloud Storage by uloading its name + a random ID.
|
||||||
# Before uploading, we need to check if a file with the same name already exists, and if it does, change the random ID.
|
# Before uploading, we need to check if a file with the same name already exists, and if it does, change the random ID.
|
||||||
# For example, if we want to upload a file named "<THE_FILE_NAME>" with the content AA, we'd use this command to upload:
|
# For example, if we want to upload a file named "<THE_FILE_NAME>" with the content AA, we'd use this command to upload:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user