GodotNuts / GodotFirebase

Implementations of Firebase for Godot using GDScript
MIT License
558 stars 79 forks source link

[BUG] Firebase Storage Invalid Index #402

Closed HuskyDreaming closed 4 months ago

HuskyDreaming commented 5 months ago

Firebase Storage has problems with indexing.

To Reproduce Create any reference to path in the bucket.

Expected behavior When the correct rules have been setup for firebase: Firebase.Storage.ref().get_data should return required data

Screenshots image image

Environment:

Additional context This topic has already been discussed in discord: https://discord.com/channels/794559524903714886/888779604007993354/1248785442237583410

WolfgangSenff commented 4 months ago

Aside from having discussed this already with you, it's an easy fix - you can just remove the -1 index and replace it with back() I believe it is. That said, I'll fix it in the plugin, just letting you know what the fix is probably going to be! :P And that I've seen this and haven't forgotten it.

WolfgangSenff commented 4 months ago

Oh! I lied. I already fixed it, so I'm closing this. :)