Coder Social home page Coder Social logo

Comments (12)

lokeshsingh3721 avatar lokeshsingh3721 commented on August 16, 2024 1

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.

github-actions avatar github-actions commented on August 16, 2024

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 avatar lokeshsingh3721 commented on August 16, 2024

please assign me this issue .

from talawa-api.

lokeshsingh3721 avatar lokeshsingh3721 commented on August 16, 2024

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.

Screenshot 2024-05-17 at 1 35 43 PM

changing it from "URL" to String , fixing this error .

from talawa-api.

disha1202 avatar disha1202 commented on August 16, 2024

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.

lokeshsingh3721 avatar lokeshsingh3721 commented on August 16, 2024

This issue is related to the Talawa-api repo ..so where should i raise the PR ?

from talawa-api.

palisadoes avatar palisadoes commented on August 16, 2024

Yes

from talawa-api.

lokeshsingh3721 avatar lokeshsingh3721 commented on August 16, 2024

Yes

can you please tell ?? should i close this issue here and open in talawa-api then make the pr ?

from talawa-api.

varshith257 avatar varshith257 commented on August 16, 2024

@lokeshsingh3721 Here's your issue

from talawa-api.

github-actions avatar github-actions commented on August 16, 2024

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 avatar lokeshsingh3721 commented on August 16, 2024

@lokeshsingh3721 Here's your issue

I didn't know this was possible! Thanks!

from talawa-api.

github-actions avatar github-actions commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.