Comments (12)
Hi @lokeshsingh3721,
The issue is not in the type of imageUrl.
The posts resolver is supposed to return the URL of the image, to fix the invalid URL error you need to append the base url to the string stored in imageUrl / videoUrl before returning.
You can take reference from the advertisements resolver https://github.com/PalisadoesFoundation/talawa-api/blob/develop/src/resolvers/Organization/advertisements.ts#L80
ok gotcha. i will look into the post resolver.
from talawa-api.
Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.
from talawa-api.
please assign me this issue .
from talawa-api.
Could someone kindly explain what might be going wrong here? I'm new to GraphQL and having trouble understanding if the "URL" is hardcoded or if there's an issue with its type.
changing it from "URL" to String , fixing this error .
from talawa-api.
Hi @lokeshsingh3721,
The issue is not in the type of imageUrl.
The posts resolver is supposed to return the URL of the image, to fix the invalid URL error you need to append the base url to the string stored in imageUrl / videoUrl before returning.
You can take reference from the advertisements resolver https://github.com/PalisadoesFoundation/talawa-api/blob/develop/src/resolvers/Organization/advertisements.ts#L80
from talawa-api.
This issue is related to the Talawa-api repo ..so where should i raise the PR ?
from talawa-api.
Yes
from talawa-api.
Yes
can you please tell ?? should i close this issue here and open in talawa-api then make the pr ?
from talawa-api.
@lokeshsingh3721 Here's your issue
from talawa-api.
Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.
from talawa-api.
@lokeshsingh3721 Here's your issue
I didn't know this was possible! Thanks!
from talawa-api.
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.
from talawa-api.
Related Issues (20)
- Upgrade package graphql from 16.8.1 to 16.9.0 HOT 1
- [Translation] Errors from API don't translate
- Feature Request: Create a installation script to simplifies the project setup HOT 1
- Add organization userTags connection (GSoC) HOT 1
- Upgrade packages vitest and @vitest/coverage-v8
- Upgrade package react-i18next from 11.18.6 to 12.3.1
- Implement mutations for DirectChat and GroupChat and fix subscriptions (GSOC) HOT 2
- Feature Request: Write TSDoc comments Part-2 HOT 1
- Feature Request: Write Tsdoc comments in Resolvers folder Part-3 (final)
- Add support to reply to messages in direct chat and group chat HOT 2
- Feature Request: Add MinIO Installation and Docker Support for Streamlined Object Storage Integration HOT 2
- Feature Request: Remove the workflow which generates docs
- GSoC: Add Resolvers for getting user-linked Pledges and Campaigns HOT 1
- Enhancements For Session Management in Both User And Admin Portal HOT 1
- Feature Request: Create a github action to check TSDoc comments in .ts file
- Create query to fetch all volunteer groups of an event HOT 2
- Feature Request: Write tsdoc comments in leftover file Part-4
- Bug Report: Development server is not starting properly HOT 4
- Feature Request: Mdx file need
- Change the twitter reference HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from talawa-api.