Fixed about me on portfolio page

This commit is contained in:
Caleb Gardner
2025-01-09 03:01:00 -06:00
parent fc71473177
commit cd871c7217
+1 -1
View File
@@ -33,7 +33,7 @@ func (a Author) HTML() string {
}
func (b *BlogApp) AboutMe(ctx context.Context) (*Author, error) {
res := b.authCol.FindOne(ctx, bson.M{"_id": "caleb_gardner"})
res := b.authCol.FindOne(ctx, bson.M{"_id": "BelacDarkstorm"})
if res.Err() != nil {
log.Println("error getting about me:", res.Err())
if res.Err() == mongo.ErrNoDocuments {